using System;
using System.Collections.Generic;
using System.Security.Cryptography;
using System.Text;
using System.Data;

using PlugNT.Safe;
using PlugNT.Cms.Custom;
using PlugNT.Database;
using PlugNT.Database.Common.Simple;
using PlugNT.App.Shop.Model;

namespace PlugNT.App.Shop.BLL
{
    public class GoodsAttr 
    {

        private static readonly PlugNT.App.Shop.DAL.GoodsAttr dal = new PlugNT.App.Shop.DAL.GoodsAttr();



        public bool Add(GoodsAttrInfo model)
        {
            return dal.Add(model);
        }

        public bool Update(GoodsAttrInfo model)
        {
            return dal.Update(model);
        }

        public bool Delete(int id)
        {
            return dal.Delete(id);
        }



        public DataTable GetList(int sysModelId, string andWhere)
        {
            return PlugNT.App.Shop.DAL.GoodsAttr.GetList(sysModelId,  andWhere);
        }



        public GoodsAttrInfo GetGoodsAttrInfo(int id)
        {
            return dal.GetGoodsAttrInfo(id);

        }


    }
}

